<!DOCTYPE html>
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=7,IE=9">
    <!--The viewport meta tag is used to improve the presentation and behavior of the samples 
      on iOS devices-->
    <meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no">
    <title>LSU Map</title>
    <link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/dojo/dijit/themes/claro/claro.css">
    <link rel="stylesheet" href="http://serverapi.arcgisonline.com/jsapi/arcgis/3.3/js/esri/css/esri.css">
    
	<style>
      html, body { height: 100%; width: 100%; margin: 0; padding: 0; }
      #map{
        padding:0;
      }
    </style>
 
    <script src="https://serverapi.arcgisonline.com/jsapi/arcgis/3.3/"></script>
	<script src="TQ/esrimap.js"></script>
    <script>
	//dojo.require("esri.layers.FeatureLayer");
        //some test

	
    dojo.ready(function(){
	  var app = new EsriApp("streets","mymap");
	  
	      featureLayer = new esri.layers.FeatureLayer("http://sampleserver6.arcgisonline.com/arcgis/rest/services/USA/MapServer/2",{
          mode: esri.layers.FeatureLayer.MODE_ONDEMAND,
          outFields: ["*"]
          
        });
		var map = app.currentMap;
		
        dojo.connect(map, "onClick", function(evt) {
		console.log(evt);
		map.infoWindow.setContent("f");
		map.infoWindow.show();
		});
        app.currentMap.addLayer(featureLayer);


	  });
    </script>
  </head>
  
  <body class="claro">
    <div >
abc
      <div id="mymap" >
     </div>

    </div>
  </body>

</html>
